﻿@using PortalIntranet.InternalComponents.Common;

@model PortalIntranet.ObjectComponents.WebParts.WebPartBaseInfo

<div class="w-box @Common.GetDescription(Model.Cor) @(Model.PermitirMinimizar ? "hideable" : "")">
	@{
		if (Model.ExibirCabecalho)
		{
			<div class="w-box-header">
				<h4>@Model.Nome</h4>
			</div>
		}
	}
	@Html.Partial(Model.PartialView, Model)
</div>
